package com.ruoyi.dispatch.mapper;

import java.util.List;

import com.ruoyi.dispatch.domain.MonthTunnelDayReport;
import com.ruoyi.dispatch.domain.TunnelDayReport;

/**
 * 掘进日报Mapper接口
 * 
 * @author wuxiaofang
 * @date 2025-04-08
 */
public interface TunnelDayReportMapper 
{
    /**
     * 查询掘进日报
     * 
     * @param reportId 掘进日报主键
     * @return 掘进日报
     */
    public TunnelDayReport selectTunnelDayReportByReportId(Long reportId);

    /**
     * 查询掘进日报列表
     * 
     * @param tunnelDayReport 掘进日报
     * @return 掘进日报集合
     */
    public List<TunnelDayReport> selectTunnelDayReportList(TunnelDayReport tunnelDayReport);

    /**
     * 新增掘进日报
     * 
     * @param tunnelDayReport 掘进日报
     * @return 结果
     */
    public int insertTunnelDayReport(TunnelDayReport tunnelDayReport);

    /**
     * 修改掘进日报
     * 
     * @param tunnelDayReport 掘进日报
     * @return 结果
     */
    public int updateTunnelDayReport(TunnelDayReport tunnelDayReport);

    /**
     * 删除掘进日报
     * 
     * @param reportId 掘进日报主键
     * @return 结果
     */
    public int deleteTunnelDayReportByReportId(Long reportId);

    /**
     * 批量删除掘进日报
     * 
     * @param reportIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTunnelDayReportByReportIds(Long[] reportIds);

    public List<MonthTunnelDayReport> countMonthTunnel(String date);

    public List<MonthTunnelDayReport> countYearTunnel(String date);
}
